package com.ocean.admin.model.vo.menu;

import com.ocean.admin.entity.SysMenu;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 系统菜单查询Vo
 *
 * @author zhang
 * @since 2022/8/21 16:26
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class SysMenuVo extends SysMenu {

    /**
     * 子菜单
     */
    @Schema(description = "子菜单")
    private List<SysMenuVo> children;
}
